<template>
    <div class="app-container">
        <div class="left-right-layout ">
            <el-radio-group v-model="activeRadio">
                <el-radio-button label="企业信息" value="企业信息">企业信息</el-radio-button>
                <el-radio-button label="税务信息" value="税务信息">税务信息</el-radio-button>
                <el-radio-button label="票务信息" value="票务信息">票务信息</el-radio-button>
                <el-radio-button label="财务信息" value="财务信息">财务信息</el-radio-button>
            </el-radio-group>
            <el-button :loading="loading" @click="toBack">返回</el-button>
        </div>
        <TaxInfo v-if="activeRadio == '税务信息'" />
        <CompanyInfo v-if="activeRadio == '企业信息'" />
        <FinanceInfo v-if="activeRadio == '财务信息'" />
        <TicketingInfo v-if="activeRadio == '票务信息'" />
    </div>
</template>

<script setup name="TaxReportDetails">
import TaxInfo from '../tabComponents/taxInfo';
import CompanyInfo from '../tabComponents/companyInfo';
import FinanceInfo from '../tabComponents/financeInfo';
import TicketingInfo from '../tabComponents/ticketingInfo';
const activeRadio = ref('企业信息')
const route = useRoute()
const router = useRouter()
const loading = ref(false)
function toBack() {
    router.push({ path: route.query.path })
}
</script>

<style lang="scss" scoped></style>
